import request from "@/request/";

export const getList = (data) => {
  return request({
    url: "/api/trio-system/minio/attach/selectAttachPage",
    method: "post",
    data: {
      extension: "apk",
      ...data,
    },
  });
};

export const upload = (data) => {
  return request({
    url: "/api/trio-system/minio/common/uploadFileWithSafeName",
    method: "post",
    headers: { "Content-Type": "multipart/form-data" },
    data,
  });
};
